package cn.tx.dao;

import java.util.List;

public interface BaseDao<T, Q> {

	
	public void save(T t);
	
	public void update(T t);
	
	public void delete(T t);
	
	public T getObjectById(Object objId);
	
	public List<T> listAll();
	
	public List<T> selectObjByCondition(Q q, List<String> exclude);
	
	public List<T> selectObjByConditionPage(Q q, int startNum, List<String> exclude);
	
	public Long selectObjByConditionCount(Q q, List<String> exclude);
}
